<template>
	<view class="open-succeed">
		<bsNavBar title='开通课程'></bsNavBar>
		<image class="img-icon" :src="imgUrl+'duihao.png'" mode=""></image>
		<view class="title">
			开通成功
		</view>
		<view class="content-text">
			恭喜您，您的课程已开通成功。点击按钮立即开始学习吧！
		</view>
		<u-button type='jz' @click="handNavTo()">开始学习</u-button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				imgUrl: this.configImgUrl
			};
		},
		methods: {
			handNavTo() {
				// uni.navigateTo({
				// 	url:'/pages/onlineTrain/onlineTrain'
				// })
				uni.navigateBack({
					delta: 2
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.open-succeed {
		padding: 120rpx 100rpx;
		text-align: center;

		.img-icon {
			width: 130rpx;
			height: 130rpx;
		}

		.title {
			font-size: 36rpx;
			color: $bs-text-color-333;
			font-weight: bold;
			margin-top: 40rpx;
		}

		.content-text {
			margin-top: 20rpx;
			margin-bottom: 80rpx;
			font-size: 32rpx;
			color: #666666;
		}
	}
</style>
